package com.googlecode.openauth.web.dao;

import com.googlecode.openauth.web.entity.RMenu;
import com.googlecode.openauth.web.entity.RRole;
import com.googlecode.openauth.web.entity.RRoleArea;
import com.googlecode.openauth.web.entity.RRoleResource;

public interface IRelationDao {
	void addRoleAction(RRole relation);
	void addRoleArea(RRoleArea relation);
	void addRoleResource(RRoleResource relation);
	void addRoleMenu(RMenu relation);
	
	void delRoleActionById(int roleId);
	void delRoleAreaById(int roleId);
	void delRoleResourceById(int roleId);
	void delRoleMenuById(int roleId);
}
